<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2024/11/22 0022
 * Time: 15:20
 */

namespace app\index\validate;


use think\Validate;

class Student extends Validate
{
    protected $rule = [
        'school_id' => 'require',
        'class_id' => 'require',
        'name' => 'require'
    ];

    protected $message = [
        'school_id.require' => '学校必须',
        'class_id.require' => '年级必须',
        'name.require' => '学生名称必须',
    ];
}